.class Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;
.super Lcom/jumptap/adtag/JtAdView;
.source "JumptapAdaptor.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "BurstlyJtAdWrapper"
.end annotation


# static fields
.field private static final TAG:Ljava/lang/String;


# instance fields
.field private mAttached:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 272
    const-class v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    return-void
.end method

.method constructor <init>(Landroid/content/Context;Lcom/jumptap/adtag/JtAdWidgetSettings;)V
    .locals 0
    .parameter "context"
    .parameter "widgetSettings"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/jumptap/adtag/utils/JtException;
        }
    .end annotation

    .prologue
    .line 282
    invoke-direct {p0, p1, p2}, Lcom/jumptap/adtag/JtAdView;-><init>(Landroid/content/Context;Lcom/jumptap/adtag/JtAdWidgetSettings;)V

    .line 283
    return-void
.end method


# virtual methods
.method public getVisibility()I
    .locals 1

    .prologue
    .line 287
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->mAttached:Z

    if-eqz v0, :cond_0

    invoke-super {p0}, Lcom/jumptap/adtag/JtAdView;->getVisibility()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected onAttachedToWindow()V
    .locals 1

    .prologue
    .line 304
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->mAttached:Z

    .line 306
    invoke-super {p0}, Lcom/jumptap/adtag/JtAdView;->onAttachedToWindow()V

    .line 307
    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    .prologue
    .line 311
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->mAttached:Z

    .line 312
    invoke-super {p0}, Lcom/jumptap/adtag/JtAdView;->onDetachedFromWindow()V

    .line 313
    return-void
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 5
    .parameter "event"

    .prologue
    .line 329
    :try_start_0
    invoke-super {p0, p1}, Lcom/jumptap/adtag/JtAdView;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 334
    :goto_0
    return v1

    .line 331
    :catch_0
    move-exception v0

    .line 332
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1100()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 334
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 351
    :try_start_0
    invoke-super {p0, p1, p2}, Lcom/jumptap/adtag/JtAdView;->onKeyDown(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 356
    :goto_0
    return v1

    .line 353
    :catch_0
    move-exception v0

    .line 354
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1300()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 356
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyMultiple(IILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "repeatCount"
    .parameter "event"

    .prologue
    .line 362
    :try_start_0
    invoke-super {p0, p1, p2, p3}, Lcom/jumptap/adtag/JtAdView;->onKeyMultiple(IILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 367
    :goto_0
    return v1

    .line 364
    :catch_0
    move-exception v0

    .line 365
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1400()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 367
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyPreIme(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 373
    :try_start_0
    invoke-super {p0, p1, p2}, Lcom/jumptap/adtag/JtAdView;->onKeyPreIme(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 378
    :goto_0
    return v1

    .line 375
    :catch_0
    move-exception v0

    .line 376
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1500()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 378
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyShortcut(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 395
    :try_start_0
    invoke-super {p0, p1, p2}, Lcom/jumptap/adtag/JtAdView;->onKeyShortcut(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 400
    :goto_0
    return v1

    .line 397
    :catch_0
    move-exception v0

    .line 398
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1700()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 400
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyUp(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 384
    :try_start_0
    invoke-super {p0, p1, p2}, Lcom/jumptap/adtag/JtAdView;->onKeyUp(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 389
    :goto_0
    return v1

    .line 386
    :catch_0
    move-exception v0

    .line 387
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1600()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 389
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 5
    .parameter "event"

    .prologue
    .line 340
    :try_start_0
    invoke-super {p0, p1}, Lcom/jumptap/adtag/JtAdView;->onTouchEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 345
    :goto_0
    return v1

    .line 342
    :catch_0
    move-exception v0

    .line 343
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1200()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 345
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onTrackballEvent(Landroid/view/MotionEvent;)Z
    .locals 5
    .parameter "event"

    .prologue
    .line 318
    :try_start_0
    invoke-super {p0, p1}, Lcom/jumptap/adtag/JtAdView;->onTrackballEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 323
    :goto_0
    return v1

    .line 320
    :catch_0
    move-exception v0

    .line 321
    .local v0, exception:Ljava/lang/Exception;
    invoke-static {}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->access$1000()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor$BurstlyJtAdWrapper;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 323
    const/4 v1, 0x1

    goto :goto_0
.end method

.method protected onWindowVisibilityChanged(I)V
    .locals 1
    .parameter "visibility"

    .prologue
    .line 292
    invoke-static {}, Lcom/burstly/lib/network/request/RequestManager;->isOnline()Z

    move-result v0

    if-nez v0, :cond_1

    .line 294
    if-eqz p1, :cond_0

    .line 295
    invoke-super {p0, p1}, Lcom/jumptap/adtag/JtAdView;->onWindowVisibilityChanged(I)V

    .line 300
    :cond_0
    :goto_0
    return-void

    .line 298
    :cond_1
    invoke-super {p0, p1}, Lcom/jumptap/adtag/JtAdView;->onWindowVisibilityChanged(I)V

    goto :goto_0
.end method
